// 菜单配置
// headerMenuConfig：头部导航配置
// asideMenuConfig：侧边导航配置
import {getSystemSetting} from "../utils/localStorageData";

let headerMenuConfig = [];

let baseMenuConfig = [
  {
    path: '/registration',
    name: '挂号',
    icon: 'el-icon-date',
    index:1,
  },
  {
    path: '/outpatient',
    name: '门诊',
    icon: 'el-icon-edit-outline',
    index:2,
  },
  {
    path: '/drugsManagement',
    name: '库存',
    icon: 'el-icon-tickets',
    index:5,
  },
  {
    path: '/patient',
    name: '患者',
    icon: 'el-icon-circle-check-outline',
    index:6,
  },
  {
    path: '/statistical',
    name: '统计',
    icon: 'el-icon-circle-check-outline',
    index:7,
  },
  {
    path: '/templates',
    name: '模板',
    icon: 'el-icon-circle-check-outline',
    index:8,
  },
  {
    path: '/clinicManagement',
    name: '诊所管理',
    icon: 'el-icon-circle-check-outline',
    index:9,
  },
]

let payAndIssueMenu = [
  {
    path: '/payOrDrug',
    name: '收费/发药',
    icon: 'el-icon-picture-outline',
    isIssue:true,
    index:3,
  },
  {
    path: '/payOrDrug',
    name: '收费',
    icon: 'el-icon-picture-outline',
    isIssue:false,
    index:3,
  },
  {
    path: '/issueDrug',
    name: '发药',
    icon: 'el-icon-picture-outline',
    isIssue:false,
    index:4,
  },
]

let asideMenuConfig = [
  {
    path: '/registration',
    name: '挂号',
    icon: 'el-icon-date',
  },
  {
    path: '/outpatient',
    name: '门诊',
    icon: 'el-icon-edit-outline',
  },
  {
    path: '/payOrDrug',
    name: '收费/发药',
    icon: 'el-icon-picture-outline',
  },
  {
    path: '/issueDrug',
    name: '发药',
    icon: 'el-icon-picture-outline',
  },
  {
    path: '/drugsManagement',
    name: '药品管理',
    icon: 'el-icon-tickets',
  },
  {
    path: '/patient',
    name: '患者',
    icon: 'el-icon-circle-check-outline',
  },
  {
    path: '/statistical',
    name: '统计',
    icon: 'el-icon-circle-check-outline',
  },
  {
    path: '/templates',
    name: '模板',
    icon: 'el-icon-circle-check-outline',
  },
  {
    path: '/clinicManagement',
    name: '诊所管理',
    icon: 'el-icon-circle-check-outline',
  },
]

export { headerMenuConfig, asideMenuConfig, payAndIssueMenu, baseMenuConfig}
